<?php 
		namespace Home\Model;
		use Think\Model;
		class LinksModel extends Model	{
			protected $tableName = 'links';
			
			
			public function getAll(){
				
				return $this->cache("liksinfo")->order('listorder desc')->select();
				
			}
			
			
		}


?>